package cn.micro.keep.accounts.service;

import cn.micro.keep.accounts.entity.AccountOdsRecord;
import cn.micro.keep.accounts.entity.dto.AccountOdsRecordDTO;
import cn.micro.keep.accounts.entity.dto.AccountOdsRecordSearch;
import cn.micro.keep.accounts.entity.dto.PieChartSearch;
import cn.micro.keep.accounts.entity.vo.AccountOdsRecordInfoVO;
import cn.micro.keep.accounts.entity.vo.AccountOdsRecordVO;
import cn.micro.keep.accounts.entity.vo.PieChartVO;
import cn.micro.keep.accounts.entity.vo.YesterdayStatisticsVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 账单信息表 服务类
 * </p>
 *
 * @author 柘阳科技
 * @since 2023-11-08
 */
public interface AccountOdsRecordService extends IService<AccountOdsRecord> {

    boolean create(AccountOdsRecordDTO dto);

    boolean deleteRecord(Long id);

    List<AccountOdsRecordVO> listByUser(AccountOdsRecordSearch search);

    AccountOdsRecordInfoVO info(Long id);

    YesterdayStatisticsVO yesterdayStatistics();


    List<PieChartVO> pieChart(PieChartSearch search);

}
